package com.wyh.mapper.groupOne.customer;

import com.wyh.domain.vo.groupOne.customer.InvoiceconfigurationVO;

public interface MasterDataInvoiceconfigurationMapper {


    /**
     * 根据客户id查询开票配置
     * @param id
     * @return
     */
    InvoiceconfigurationVO selectByCustomerId(Integer id);

    /**
     * 根据id查询开票配置
     * @param id
     * @return
     */
    InvoiceconfigurationVO selectById(Integer id);


    /**
     * 添加开票配置
     * @param invoiceconfigurationVO
     * @return
     */
    int insert(InvoiceconfigurationVO invoiceconfigurationVO);

    /**
     * 根据客户id修改开票配置
     * @param invoiceconfigurationVO
     * @return
     */
    int update(InvoiceconfigurationVO invoiceconfigurationVO);

}
